import api from '@/api/index.ts'

// 获取列表
export function GetData(params: any) {
  return api.get('/api/recommender/shop/list', { params })
}
// 获取选项
export function GetStopOption() {
  return api.get('/api/recommender/shop/options')
}
// 获取详情
export function GetDataDetail(id: string) {
  return api.get(`/api/recommender/shop/detail/${id}`)
}
// 修改状态
export function PatchShopType(params: any) {
  return api.patch('/api/recommender/shop/modifyrecstate', params)
}
// 修改状态
export function PatchModifyType(params: any) {
  return api.patch('/api/recommender/shop/modifymanagerstatus', params)
}
// 添加
export function PostCreateData(params: any) {
  return api.post('/api/recommender/shop/create', params)
}
// 编辑
export function PutModifyData(params: any) {
  return api.put('/api/recommender/shop/modify', params)
}
